<%@ page language="java" contentType="text/html; charset=GB18030"
    pageEncoding="GB18030"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<script type="text/javascript" src="js/ajax.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<title>Login ...</title>
</head>
  
  <body>

	<%
	String logininfo = (String)request.getAttribute("logininfo");
	%>
   <div id="scr">
	
	<h1 align="center"> WAREHOUSE MANAGEMENT SYSTEM</h1>
	<div id="login" >
		<div id="login_title">Login</div>
		<div id="login_content">
		<form name="login" method="GET" action="UserLogin">
		<table class="login_table">
			<tr>
			<td class="lable" align="right">Name:</td>
			<td align="left"><input class="inputtxt" name="user" size="15" type="text" value=""></td>
			</tr>
			<tr>
			<td class="lable" align="right">Password:</td>
			<td align="left"><input class="inputtxt" name="password" size="15" type="password" value=""></td>
			</tr>
			<tr>
			<td align="right"><input type="button" value="Login" onClick="CheckLogin()"></td>
			<td align="center"><input type="reset" value="Cancle"></td>
			</tr>
		</table>
		</form>
		</div><!--end login_content-->
	</div><!--end login-->
	<div id="copyrightinlogin"> Copyright by IIIST capstone team </div>
	</div><!--end scr-->
	<%
	//if(logininfo!=null)
	//{
	%>
	<!--	<font color=red><%=logininfo %></font> -->
	<%
	//}
	%>
  </body>
</html>
